<template>
  <div>
    <h2>登录页</h2>
    <input type="text" />
    <button @click="test">测试接口</button>
    <img src="src\assets\404_images\404_cloud.png" alt="" />
    <div></div>
    <br />
  </div>
</template>

<script>
import Axios from 'axios'
export default {
  data () {
    return {
      msg: ''
    }
  },
  methods: {
    async test () {
      let res = await Axios({
        url: 'https://autumnfish.cn/api/lol/search',
        methods: 'get',
        q: '锐雯'
      })
      console.log(res)
    }
  }
}
</script>

<style></style>
